package org.example.service;

import org.example.param.ArticleAddParam;
import org.example.param.ArticleAuthorParam;
import org.example.param.ArticleFuzzyParam;
import org.example.param.ArticleUpdateParam;
import org.example.utils.Result;

public interface ArticleService {
    Result add(ArticleAddParam articleAddParam);

    Result delete(Long id);

    Result update(ArticleUpdateParam articleUpdateParam);

    Result all();

    Result fuzzy(ArticleFuzzyParam articleFuzzyParam);

    Result findArticleById(Long id);

    Result findArticleByAuthor(ArticleAuthorParam articleAuthorParam);
}
